package edu.gd.entity;

public class User {
    private String username;
    private String password;
    private String sex;
    private String question;
    private String answer;
    private String introduce;

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public User(String username, String password, String sex, String question, String answer, String introduce) {
        this.username = username;
        this.password = password;
        this.sex = sex;
        this.question = question;
        this.answer = answer;
        this.introduce = introduce;
    }

    @Override
    public String toString() {
        return "username:"+username+"  password:"+password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
